Use monospace as font name, not mono. Patch by Yevgen Muntyan.
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 3 Jul 2008 17:35:50 +0000 (17:35 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 3 Jul 2008 17:35:50 +0000 (17:35 +0000)
        * demos/gtk-demo/printing.c: Use monospace as font name,
        not mono. Patch by Yevgen Muntyan.

svn path=/trunk/; revision=20746

ChangeLog
demos/gtk-demo/printing.c

index 9230eca589f02e65abf963b751de79d646fe89aa..6a3804851a6fddb3f6e0c837ac8cd41bd1fe9117 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-07-03  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 535498 – Printing demo broken
+
+       * demos/gtk-demo/printing.c: Use monospace as font name, 
+       not mono. Patch by Yevgen Muntyan.
+
 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 538547 – Update doc-shooter in gtk documentation
index efa5838215474d02364675c506a0293067957ea9..03997174d6fd0a68d6cd04e6ae7cc0f640cddfd7 100644 (file)
@@ -112,7 +112,7 @@ draw_page (GtkPrintOperation *operation,
   
   layout = gtk_print_context_create_pango_layout (context);
   
-  desc = pango_font_description_from_string ("mono");
+  desc = pango_font_description_from_string ("monospace");
   pango_font_description_set_size (desc, data->font_size * PANGO_SCALE);
   pango_layout_set_font_description (layout, desc);
   pango_font_description_free (desc);